home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / finderdragpro / readme < prev   
Encoding:
Text File  |  2000-06-23  |  2.3 KB  |  63 lines

  1. FinderDragPro
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. A sample application illustrating drag and drop techniques for use with file system objects.  This file illustrates how applications can use drag and drop commands in a way compatible with current and past versions of the Finder.
  9.  
  10. Drag and drop techniques illustrated include:
  11. • translucent drag and drop for icons,
  12. • drag and drop of hfs objects,
  13. • creating and providing promised files in drags,
  14. • installing fake apple event handlers for drag and drop compatibility with past versions of the Finder.
  15.  
  16. Other interesting techniques illustrated include:
  17. • retrieving icons for files,
  18. • graying out a section of a window,
  19. • converting icons to pixmaps for translucent dragging,
  20. • resolving alias files while avoiding user interaction alerts that may pop up,
  21.  
  22. By John Montbriand.
  23. Written in part by Pete Gontier.
  24.  
  25. Copyright © 1999 by Apple Computer, Inc.
  26. All rights reserved worldwide.
  27.     
  28. Disclaimer:
  29. You may incorporate this sample code into your applications without restriction, though the sample code has been provided "AS IS" and the responsibility for its operation is 100% yours.  However, what you are not permitted to do is to redistribute the source as "DSC Sample Code" after having made changes. If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple Sample Code, but that you've made changes.
  30.  
  31. Files:
  32.  
  33. ':FinderDragPro.prj Data:' - codewarrior pro project data.
  34.  
  35. :obj: - object files created during the build process.
  36.  
  37. FDPUtilities.c - some utilities used in the FinderDragPro applicaion.  To simplify the example file, these routines were moved here.
  38.  
  39. FDPUtilities.h - declarations for routines in FDPUtilities.c.
  40.  
  41. FinderDragPro - FAT application file.
  42.  
  43. FinderDragPro.c - main program file.
  44.  
  45. FinderDragPro.h - constants and declarations used in main program file.
  46.  
  47. FinderDragPro.prj - codewarrior pro project file.
  48.  
  49. FinderDragPro.r - rez file for resources in FinderDragPro.
  50.  
  51. FinderDragPro.rsrc - ResEdit resource file for resources in FinderDragPro.
  52.  
  53. GetIconSuiteFromFinder.c - routines for retrieving icons for files from the Finder.  These are only used if IconServices is not present.
  54.  
  55. GetIconSuiteFromFinder.h - declarations for routines defined in GetIconSuiteFromFinder.c.
  56.  
  57. MakeFile - MPW make file.
  58.  
  59. ReadMe - see ReadMe.
  60.  
  61.  
  62.  
  63.